import hilog from '@ohos.hilog';

export class Log {
  /**
   * 打印info日志
   */
  public static info(tag: string, msg: string) {
    hilog.info(0x0001, tag, msg);
  }

  /**
   * 打印error日志
   */
  public static error(tag: string, msg: string) {
    hilog.error(0x0001, tag, msg);
  }
}